<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta charset="utf-8">
		<title>修改学生信息</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<link rel="stylesheet" href="../layui/css/layui.css" media="all">
		<link rel="stylesheet" href="../css/studentManagement.css" />
	</head>
	<body>
	<!--查看学生信息弹框调用内容Start-->
	<div id="studetail" class="studetail-con">			
		<table class="layui-table">
		    <tbody>
		      <tr>
		        <td class="tdbck">账号</td>
		        <td><span id="laystuid"></span></td>
		        <td class="tdbck">真实姓名</td>
		        <td colspan="4"><span id="layrealname"></span></td>
		      </tr>
		      <tr>
		        <td class="tdbck">性别</td>
		        <td><span id="laysex"></span></td>
		         <td class="tdbck">所属班级</td>
		        <td><span id="layclass"></span></td>
		      </tr>
		      <tr>
		        <td class="tdbck">出生日期</td>
		        <td><span id="laygrad"></span></td>
		      </tr>
		    </tbody>
		  </table><br>
		  <p> 学生家长：</p> <br>
		  <table style="margin-top:80px" class="layui-hide" id="parentStus" lay-filter="parentStus"></table>
	</div>
	<!--查看学生信息弹框调用内容END-->
	
	<!-- 学生信息修改弹窗Start -->
	<div class="editstulayer-con" id="editstuFrom">
		<div class="from-con"  style="width: 85%;">
		<form class="layui-form" action="">
			<div class="layui-form-item">
				<label class="layui-form-label">账号：</label>
				<div class="layui-input-block">
					<input id="editid" type="text" name="editid" style="display:none" class="layui-input layui-disabled"/>
					<input id="edituserName" type="text" name="edituserName" lay-verify="required" class="layui-input layui-disabled" disabled/>
				</div>
			</div>
		  	<div class="layui-form-item">
			    <label class="layui-form-label">真实姓名</label>
			    <div class="layui-input-block">
			    	<input id="editrealName" type="text" autocomplete="off" name="realName" lay-verify="required" placeholder="请输入真实姓名" class="layui-input" />
			    </div>
		  	</div>
		  	<div class="layui-form-item">
			    <label class="layui-form-label">性别</label>
			    <div class="layui-input-block">
			     	<input type="radio" name="sex" class="sex" value="男" title="男" />
			     	<input type="radio" name="sex" class="sex" value="女" title="女" />
			    </div>
			</div>
			<div class="layui-form-item">
			    <label class="layui-form-label">所属班级</label>
			    <div class="layui-input-block">
				    <input id="seleditcla" type="text" name="seleditcla" class="layui-input layui-disabled" disabled/>
			    </div>
			</div>
			<div class="layui-form-item">
			    <label class="layui-form-label">出生日期</label>
			    <div class="layui-input-block">
			    	<input type="text" id="editbirthday" name="editbirthday" autocomplete="off" class="layui-input" lay-verify="required">
			    </div>
			</div>
		  	<div class="layui-form-item">
			    <div class="layui-input-block" style="float: right;">
			      <button id="btneditstu" class="layui-btn layui-bg-blue" type="button"  lay-submit> 保  存  </button>
			    </div>
		  	</div>
		</form>
		</div>
	</div>
	<!-- 学生信息修改弹窗End -->
	
	<div class="editStudent-con">
		<!-- 条件查询区Start -->
		<blockquote class="layui-elem-quote not_border_left">
			<form class="layui-form" action="">	
				<div class="layui-inline">
					<div class="layui-input-inline">
					    <select name="selschooltype" id="selschooltype" lay-filter="selschooltype" lay-event="selschooltype">
						    <option value="00">请选择学校类型</option>
						</select>	
					</div>
					<div class="layui-input-inline">
					    <select name="selschool" id="selschool" lay-filter="selschool" lay-event="selschool">
						     <option value="00">请选择所属学校</option>
						 </select>
					</div>
					<div class="layui-input-inline">
					    <select name="selgradename" id="selgradename" lay-filter="selgradename">
						    <option value='00'>请选择年级</option>
						</select>
					</div> 	
					<div class="layui-input-inline">
					    <select name="classid" id="classid" lay-filter="classid">
						    <option value='00'>请选择班级</option>
						</select>
					</div>
					<div class="layui-input-inline">
						<input type="text" autocomplete="off" name="userName" id="userName" lay-verify="title" lay-event="userName" placeholder="请输入学生账号或姓名" class="layui-input">
				   </div>
				   <div class="layui-inline">
	      				<button type="button" id="btnselstu" class="layui-btn layui-bg-blue">查询</button>
	      				<button id="downloadstupar" type="button" class="layui-btn layui-bg-blue" lay-event="downloadstupar" lay-submit="" lay-filter="downloadstupar">下载学生家长关系表</button>
				   </div>
				</div>	
			</form>
		</blockquote>
		<!-- 条件查询区End-->
		
		<table class="layui-hide" id="tabeditstu" lay-filter="tabeditstu"></table>
		
		<script type="text/html" id="barDemo">
			<a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="btnselstudent">查看</a>	
			<a class="layui-btn layui-btn-xs layui-btn-normal" lay-event="btneditstudent">编辑</a>	
			<a class="layui-btn layui-btn-xs layui-bg-red" lay-event="btndelstudent">删除</a>				
		</script>
	</div>
	<script src="../layui/layui.js" charset="utf-8"></script>
	<script src="../js/jquery-3.3.1.js"></script>
	<script src="../js/public_changeschool.js"></script>
	<script src="../js/studentManagement/editStudent.js"></script>
	</body>
</html>